import request from '@/utils/request'

export function fetchPermissionsByIds(ids) {
  return request({
    url: `/permissions/${ids}`,
    method: 'get'
  })
}

export function fetchAllPermissions() {
    return request({
      url: `/permissions`,
      method: 'get'
    })
  }